{extend name='public/layer_base' /}
{block name='content'}
<style>
    .text-bold {
        font-weight: 700;
        text-align: center;
    }
</style>
<div class="layui-fluid">
    <div class="layui-card" style="overflow: hidden;">

        <div class="layui-row layui-col-space10 ">
            <!-- 填充内容 -->
            <div class="layui-card ">
                <h2 style="text-align: center; padding: 15px 0px;">日志摘要</h2>
            </div>
            <div class="layui-col-sm4 layui-col-md3 layui-col-lg6">
                <div class="layui-card">
                    <div class="layui-col-sm4 layui-col-md3 layui-col-lg6">
                        <div class="layui-card text-bold">

                            日志ID
                        </div>
                    </div>
                    <div class="layui-col-sm4 layui-col-md3 layui-col-lg6">
                        <div class="layui-card">
                            {$data.id}
                        </div>
                    </div>
                </div>
            </div>
            <div class="layui-col-sm4 layui-col-md3 layui-col-lg6">
                <div class="layui-card">
                    <div class="layui-col-sm4 layui-col-md3 layui-col-lg6">
                        <div class="layui-card text-bold">
                            操作用户
                        </div>
                    </div>
                    <div class="layui-col-sm4 layui-col-md3 layui-col-lg6">
                        <div class="layui-card">
                            {$data->adminUser->nickname|default=''}
                        </div>
                    </div>
                </div>
            </div>
            <hr>
            <div class="layui-col-sm4 layui-col-md3 layui-col-lg6">
                <div class="layui-card">
                    <div class="layui-col-sm4 layui-col-md3 layui-col-lg6">
                        <div class="layui-card text-bold">
                            操作
                        </div>
                    </div>
                    <div class="layui-col-sm4 layui-col-md3 layui-col-lg6">
                        <div class="layui-card">
                            {$data.name}
                        </div>
                    </div>
                </div>
            </div>

            <div class="layui-col-sm4 layui-col-md3 layui-col-lg6">
                <div class="layui-card">
                    <div class="layui-col-sm4 layui-col-md3 layui-col-lg6">
                        <div class="layui-card text-bold">
                            url
                        </div>
                    </div>
                    <div class="layui-col-sm4 layui-col-md3 layui-col-lg6">
                        <div class="layui-card">
                            {$data.url}
                        </div>
                    </div>
                </div>
            </div>
            <hr>
            <div class="layui-col-sm4 layui-col-md3 layui-col-lg6">
                <div class="layui-card">
                    <div class="layui-col-sm4 layui-col-md3 layui-col-lg6">
                        <div class="layui-card text-bold">
                            类型
                        </div>
                    </div>
                    <div class="layui-col-sm4 layui-col-md3 layui-col-lg6">
                        <div class="layui-card">
                            {$data.method}
                        </div>
                    </div>
                </div>
            </div>

            <div class="layui-col-sm4 layui-col-md3 layui-col-lg6">
                <div class="layui-card">
                    <div class="layui-col-sm4 layui-col-md3 layui-col-lg6">
                        <div class="layui-card text-bold">
                            ip
                        </div>
                    </div>
                    <div class="layui-col-sm4 layui-col-md3 layui-col-lg6">
                        <div class="layui-card">
                            {$data.ip}
                        </div>
                    </div>
                </div>
            </div>
            <hr>
            <div class="layui-col-sm4 layui-col-md3 layui-col-lg6">
                <div class="layui-card">
                    <div class="layui-col-sm4 layui-col-md3 layui-col-lg6">
                        <div class="layui-card text-bold">
                            日期
                        </div>
                    </div>
                    <div class="layui-col-sm4 layui-col-md3 layui-col-lg6">
                        <div class="layui-card">
                            {$data.create_time}
                        </div>
                    </div>
                </div>
            </div>
            
            <pre class="layui-code" lay-title="useragent"  > {$data.useragent|default=''} </pre>

            <pre class="layui-code" lay-title="数据详情"  > {$data.content|default=''} </pre>

        </div>

    </div>
</div>
<script>
    layui.use('code', function () {
        layui.code();
    });
</script>

{/block}